package org.tagging.dao.indonesian;

import org.apache.ibatis.annotations.Param;
import org.tagging.model.UnknownWord;
import org.tagging.model.UnknownWordIndonesian;

import java.time.LocalDateTime;
import java.util.List;

public interface UnknownWordIndonesianMapper {
    List<UnknownWordIndonesian> queryByTagId(@Param("id") Integer id);

    void updateSelective(UnknownWord unknownWord);

    UnknownWordIndonesian queryById(Integer id);

    void insertSelective(UnknownWord unknownWord);

    List<UnknownWordIndonesian> queryByTimePeriod(@Param("startTime") LocalDateTime startTime,
                                                  @Param("endTime") LocalDateTime endTime,
                                                  @Param("mode") int mode);
}
